[INFO] cloning repository https://github.com/eda3/rust_by_example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eda3/rust_by_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feda3%2Frust_by_example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feda3%2Frust_by_example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6a6ce944bf302d0525297dbb34073341a008778a
[INFO] checking eda3/rust_by_example against master#d4be8efc6296bace5b1e165f1b34d3c6da76aa8e for pr-110141
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feda3%2Frust_by_example" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/eda3/rust_by_example on toolchain d4be8efc6296bace5b1e165f1b34d3c6da76aa8e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/eda3/rust_by_example
[INFO] finished tweaking git repo https://github.com/eda3/rust_by_example
[INFO] tweaked toml for git repo https://github.com/eda3/rust_by_example written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/eda3/rust_by_example already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9a05d65e5363f569127dbb01eb341d53e81cdc7056cce0002bb7a8f8f0032c08
[INFO] running `Command { std: "docker" "start" "-a" "9a05d65e5363f569127dbb01eb341d53e81cdc7056cce0002bb7a8f8f0032c08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9a05d65e5363f569127dbb01eb341d53e81cdc7056cce0002bb7a8f8f0032c08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a05d65e5363f569127dbb01eb341d53e81cdc7056cce0002bb7a8f8f0032c08", kill_on_drop: false }`
[INFO] [stdout] 9a05d65e5363f569127dbb01eb341d53e81cdc7056cce0002bb7a8f8f0032c08
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2299e5823eff2b9eb284a42fa812e7366d428d84eda390536d54a82a1d78f3da
[INFO] running `Command { std: "docker" "start" "-a" "2299e5823eff2b9eb284a42fa812e7366d428d84eda390536d54a82a1d78f3da", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_by_example v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unknown lint: `de`
[INFO] [stdout]   --> src/bin/10-1-0_visibility.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |     #[allow(de)]
[INFO] [stdout]    |             ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `private_function` is never used
[INFO] [stdout]  --> src/bin/10-1-0_visibility.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |   fn private_function() {
[INFO] [stdout]   |      ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `indirect_access` is never used
[INFO] [stdout]   --> src/bin/10-1-0_visibility.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 |   pub fn indirect_access() {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `call_public_function_in_my_mod` is never used
[INFO] [stdout]   --> src/bin/10-1-0_visibility.rs:54:10
[INFO] [stdout]    |
[INFO] [stdout] 54 |   pub fn call_public_function_in_my_mod() {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `public_function_in_crate` is never used
[INFO] [stdout]   --> src/bin/10-1-0_visibility.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |   pub(crate) fn public_function_in_crate() {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `function` is never used
[INFO] [stdout]   --> src/bin/10-1-0_visibility.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn function() {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `public_function_in_my_mod` is never used
[INFO] [stdout]   --> src/bin/10-1-0_visibility.rs:36:30
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub(in crate::my_mod) fn public_function_in_my_mod() {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `public_function_in_nested` is never used
[INFO] [stdout]   --> src/bin/10-1-0_visibility.rs:43:18
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub(self) fn public_function_in_nested() {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `public_function_in_super_mod` is never used
[INFO] [stdout]   --> src/bin/10-1-0_visibility.rs:49:19
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub(super) fn public_function_in_super_mod() {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `restricted_function` is never used
[INFO] [stdout]   --> src/bin/10-1-0_visibility.rs:77:19
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub(crate) fn restricted_function() {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `red`, `green`, and `blue` are never read
[INFO] [stdout]   --> src/bin/01-2-3-0_fmt.rs:30:3
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Color {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 30 |   red: u8,
[INFO] [stdout]    |   ^^^
[INFO] [stdout] 31 |   green: u8,
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 32 |   blue: u8,
[INFO] [stdout]    |   ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Color` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/bin/15-4-4_struct.rs:10:3
[INFO] [stdout]    |
[INFO] [stdout] 9  | struct NamedBorrowed<'a> {
[INFO] [stdout]    |        ------------- fields in this struct
[INFO] [stdout] 10 |   x: &'a i32,
[INFO] [stdout]    |   ^
[INFO] [stdout] 11 |   y: &'a i32,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NamedBorrowed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `integer` in this scope
[INFO] [stdout]   --> src/bin/02-0_primitives.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 |   let default = integer = 7; // i32
[INFO] [stdout]    |                 ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 13 |   let default = let integer = 7; // i32
[INFO] [stdout]    |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_by_example` (bin "02-0_primitives") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0053]: method `contains` has an incompatible type for trait
[INFO] [stdout]   --> src/bin/14-8-2-types.rs:21:32
[INFO] [stdout]    |
[INFO] [stdout] 21 |   fn contains(&self, number_1: &i32, number_2: &i32) -> bool {
[INFO] [stdout]    |                                ^^^^
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                expected `i32`, found `&i32`
[INFO] [stdout]    |                                help: change the parameter type to match the trait: `i32`
[INFO] [stdout]    |
[INFO] [stdout] note: type in trait
[INFO] [stdout]   --> src/bin/14-8-2-types.rs:10:25
[INFO] [stdout]    |
[INFO] [stdout] 10 |   fn contains(&self, _: Self::A, _: &Self::B) -> bool;
[INFO] [stdout]    |                         ^^^^^^^
[INFO] [stdout]    = note: expected signature `fn(&Container, i32, &i32) -> _`
[INFO] [stdout]               found signature `fn(&Container, &i32, &i32) -> _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/14-8-2-types.rs:50:24
[INFO] [stdout]    |
[INFO] [stdout] 50 |     container.contains(&number_1, &number_2)
[INFO] [stdout]    |               -------- ^^^^^^^^^ expected `i32`, found `&i32`
[INFO] [stdout]    |               |
[INFO] [stdout]    |               arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/bin/14-8-2-types.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 |   fn contains(&self, _: Self::A, _: &Self::B) -> bool;
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 50 -     container.contains(&number_1, &number_2)
[INFO] [stdout] 50 +     container.contains(number_1, &number_2)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0053, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0053`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_by_example` (bin "14-8-2-types" test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "2299e5823eff2b9eb284a42fa812e7366d428d84eda390536d54a82a1d78f3da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2299e5823eff2b9eb284a42fa812e7366d428d84eda390536d54a82a1d78f3da", kill_on_drop: false }`
[INFO] [stdout] 2299e5823eff2b9eb284a42fa812e7366d428d84eda390536d54a82a1d78f3da
